package com.ruoyi.exam.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 文本表
 * </p>
 *
 * @author JY
 * @since 2024-02-23
 */
@Getter
@Setter
@TableName("t_text_content")
@ApiModel(value = "TextContent对象", description = "文本表")
public class TextContent implements Serializable {

    private static final long serialVersionUID = 1L;

    public TextContent(){

    }
    public TextContent(String content, Date createTime) {
        this.content = content;
        this.createTime = createTime;
    }

    @ApiModelProperty("主键id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("文本内容")
    private String content;

    @ApiModelProperty("创建时间")
    private Date createTime;

}
